home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993 October: Windmill on DISC / ADC Developer CD (1993-10) (''Windmill On DISC'')_iso / Dev.CD Oct 93.iso / System Software / U.S. System Software / System 7 Pro™ Beta 11 / Development Tools / Sample Code / Standard Mail / MiniMailer / Src / MiniMailer.r < prev   
Encoding:
Text File  |  1993-06-16  |  2.5 KB  |  136 lines  |  [TEXT/KAHL]

  1. /*
  2.  * MiniMailer.r
  3.  * Copyright © 1992-93, Apple Computer Inc. All Rights Reserved.
  4.  */
  5.  
  6. #include "Types.r"
  7. #include "SysTypes.r"
  8. #include "MiniMailer.h"
  9.  
  10. resource 'ALRT' (ALRT_Error, "System Error", purgeable) {
  11.     {100, 80, 230, 422},
  12.     ALRT_Error,
  13.     {    /* array: 4 elements */
  14.         /* [1] */
  15.         OK, visible, silent,
  16.         /* [2] */
  17.         OK, visible, silent,
  18.         /* [3] */
  19.         OK, visible, silent,
  20.         /* [4] */
  21.         OK, visible, silent
  22.     }
  23. };
  24.  
  25. resource 'DITL' (ALRT_Error, "System Error", purgeable) {
  26.     {    /* array DITLarray: 3 elements */
  27.         /* [1] */
  28.         {100, 220, 120, 322},
  29.         Button {
  30.             enabled,
  31.             "Continue"
  32.         },
  33.         /* [2] */
  34.         {10, 110, 96, 324},
  35.         StaticText {
  36.             disabled,
  37.             "System Error ^0: ^1"
  38.         },
  39.         /* [3] */
  40.         {47, 20, 64, 80},
  41.         StaticText {
  42.             disabled,
  43.             "Error"
  44.         }
  45.     }
  46. };
  47.  
  48. resource 'MBAR' (MBAR_MenuBar) {
  49.     {    /* array MenuArray: 3 elements */
  50.         /* [1] */
  51.         MENU_Apple,
  52.         /* [2] */
  53.         MENU_File,
  54.         /* [3] */
  55.         MENU_Edit
  56.     }
  57. };
  58.  
  59. resource 'MENU' (MENU_Apple, "Apple Menu") {
  60.     MENU_Apple,
  61.     textMenuProc,
  62.     0x7FFFFFFC,
  63.     enabled,
  64.     apple,
  65.     {    /* array: 2 elements */
  66.         /* [1] */
  67.         "© 1992-93 Apple Computer Inc.", noIcon, noKey, noMark, plain,
  68.         /* [2] */
  69.         "-", noIcon, noKey, noMark, plain
  70.     }
  71. };
  72.  
  73. resource 'MENU' (MENU_File, "File Menu") {
  74.     MENU_File,
  75.     textMenuProc,
  76.     0x1E1,
  77.     enabled,
  78.     "File",
  79.     {
  80.         "Send Mail", noIcon, noKey, noMark, plain,
  81.         "-", noIcon, noKey, noMark, plain,
  82.         "Test GetListItemInfo", noIcon, "S", noMark, plain,
  83.         "Test Add Attachment…", noIcon, noKey, noMark, plain,
  84.         "-", noIcon, noKey, noMark, plain,
  85.         "Test Force No Target", noIcon, noKey, noMark, plain,
  86.         "Test Force Become Target", noIcon, noKey, noMark, plain,
  87.         "-", noIcon, noKey, noMark, plain,
  88.         "Quit", noIcon, "Q", noMark, plain,
  89.         "Force Quit", noIcon, noKey, noMark, plain
  90.     }
  91. };
  92.  
  93. resource 'MENU' (257, "Edit Menu") {
  94.     MENU_Edit,
  95.     textMenuProc,
  96.     0x0,
  97.     enabled,
  98.     "Edit",
  99.     {    /* array: 6 elements */
  100.         /* [1] */
  101.         "Undo", noIcon, "Z", noMark, plain,
  102.         /* [2] */
  103.         "-", noIcon, noKey, noMark, plain,
  104.         /* [3] */
  105.         "Cut", noIcon, "X", noMark, plain,
  106.         /* [4] */
  107.         "Copy", noIcon, "C", noMark, plain,
  108.         /* [5] */
  109.         "Paste", noIcon, "V", noMark, plain,
  110.         /* [6] */
  111.         "Clear", noIcon, noKey, noMark, plain
  112.     }
  113. };
  114.  
  115. resource 'SIZE' (-1) {
  116.     reserved,
  117.     ignoreSuspendResumeEvents,
  118.     reserved,
  119.     canBackground,
  120.     multiFinderAware,
  121.     backgroundAndForeground,
  122.     dontGetFrontClicks,
  123.     ignoreChildDiedEvents,
  124.     is32BitCompatible,
  125.     notHighLevelEventAware,
  126.     onlyLocalHLEvents,
  127.     notStationeryAware,
  128.     dontUseTextEditServices,
  129.     reserved,
  130.     reserved,
  131.     reserved,
  132.     393216,
  133.     393216
  134. };
  135.  
  136.